package com.meisupic.copyright.service;

import com.meisupic.copyright.domain.po.SysDicPo;
import com.meisupic.copyright.domain.query.SysDicQuery;
import com.meisupic.copyright.domain.vo.SysDicVo;
import java.util.Map;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

/**
 * creation wuxun
 * @version V1.0
 * @Description: 数据字典接口
 * @date 2018/1/14 9:35
 */
public interface ISysDicService {

    void save(SysDicPo sysDicPo);

    void delete(Long id);

    SysDicVo findById(Long id);

    Map<String,String>  findEnableDic(String type);

    Map<String,String> findAllDic(String type);

    Page<SysDicVo> findPage(SysDicQuery sysDicQuery, Pageable page);
}
